<?php
include ('../__global.php');

class index_controller extends ml_controller {
    public function initParam() {
    
    }
    public function checkParam() {
    
    }
    public function main() {
        /*
         * $oPageMaker = new ml_biz_pagemaker('ml_pagetheme');
         * $oPageMaker->set_title('test'); $oPageMaker->run(); //
         * $oPageMaker->add_public_data('theme_id' , 1); $oPageMaker->output();
         */
        echo "临时首页<br/>登录状态：";
        if ($this->check_permission(ML_PERMISSION_LOGIN_ONLY))
            echo '已经登录';
        else
            echo '未登录';
        $session = $this->getSession ();
        $err_msg = $session->getVal ( 'err_msg' );
        $temp = $session->getValALL ();
        echo "<br/>err_msg:".$err_msg."<br/>";
        echo "session:<pre>";
        var_dump ( $temp );
        die ( '' );
    }
}
new index_controller ();
?>